package com.gator.spring.framework.context;

import org.springframework.beans.BeansException;


/**
 * @Authror PABLO
 * @Date 2022/5/7 11:58
 * @Desc 解耦获得IOC容器的顶层设计
 *       通过监听器（Observer）扫描所有类，只要实现此接口，将调用setApplicationContext()，将IOC容器注入到目标类中
 */
public interface PABLO_ApplicationContextAware {

    void setApplicationContext(PABLO_ApplicationContext applicationContext) throws BeansException;
}
